-
Notifications
You must be signed in to change notification settings - Fork 250
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix logs command not showing logs #2251
Conversation
b07e626
to
fcb31e0
Compare
/hold |
fcb31e0
to
db1bcd7
Compare
Test is failing without this fix and tested in #2252 |
/hold cancel |
This will fix the logs command not showing logs if there are retries and task has completed in first go Failure and Completion of taskrun should not depend on no. of retries. Also retries will not scheduled be if task is done so add a check for that. Add e2e test for this scenarioi Fix tektoncd#2208
db1bcd7
to
4bbaa44
Compare
lgmt |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: vdemeester, vinamra28 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/retest |
#2246 | [Piyush Garg] Bump readme for v0.35.1 | 2024/02/13-15:05 #2247 | [dependabot[bot]] Bump github.com/tektoncd/pipeline from 0.56.0 to 0.56.1 | 2024/02/14-15:21 #2248 | [dependabot[bot]] Bump knative.dev/serving from 0.38.6 to 0.39.0 | 2024/02/14-20:35 #2249 | [dependabot[bot]] Bump k8s.io/cli-runtime from 0.26.13 to 0.26.14 | 2024/02/15-05:45 #2250 | [dependabot[bot]] Bump github.com/golangci/golangci-lint from 1.56.1 to 1.56.2 in /tools | 2024/02/19-06:07 #2254 | [dependabot[bot]] Bump go.uber.org/zap from 1.26.0 to 1.27.0 | 2024/02/21-15:09 #2253 | [dependabot[bot]] Bump github.com/tektoncd/pipeline from 0.56.1 to 0.57.0 | 2024/02/21-15:53 #2255 | [Senjuti De] Drafted a basic doc for tkn-plugins | 2024/02/26-11:15 #2257 | [Zoran Regvart] Add labeling support to `tkn bundle push` | 2024/02/27-06:07 #2251 | [Piyush Garg] Fix logs command not showing logs | 2024/02/27-07:03 null | [dependabot[bot]] Bump github.com/sigstore/sigstore from 1.8.1 to 1.8.2 | 2024/02/28-07:25 null | [Piyush Garg] Prepare setup for moving e2e to kind | 2024/03/01-17:45 null | [Piyush Garg] Bump golangci-lint to v0.56.2 | 2024/03/05-08:17 null | [dependabot[bot]] Bump golang.org/x/term from 0.17.0 to 0.18.0 | 2024/03/11-10:23 null | [dependabot[bot]] Bump github.com/docker/docker | 2024/03/11-11:57 null | [dependabot[bot]] Bump github.com/go-jose/go-jose/v3 from 3.0.2 to 3.0.3 | 2024/03/11-11:57 null | [dependabot[bot]] Bump github.com/docker/cli | 2024/03/11-13:17 null | [dependabot[bot]] Bump github.com/cloudevents/sdk-go/v2 from 2.14.0 to 2.15.2 | 2024/03/11-14:17 null | [dependabot[bot]] Bump gopkg.in/go-jose/go-jose.v2 from 2.6.1 to 2.6.3 | 2024/03/11-14:17 null | [dependabot[bot]] Bump google.golang.org/protobuf from 1.31.0 to 1.33.0 in /tools | 2024/03/14-02:37 null | [dependabot[bot]] Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 | 2024/03/14-03:43 null | [Piyush Garg] Bump golang to 1.21 as minimum requirement | 2024/03/14-10:31 null | [dependabot[bot]] Bump github.com/google/go-containerregistry from 0.19.0 to 0.19.1 | 2024/03/15-06:42 null | [dependabot[bot]] Bump k8s.io/cli-runtime from 0.26.14 to 0.26.15 | 2024/03/15-19:18 Signed-off-by: vinamra28 <[email protected]>
This will fix the logs command not showing logs
if there are retries and task has completed in first go
Failure and Completion of taskrun should not
depend on no. of retries. Also retries will
not scheduled be if task is done so add a check
for that.
Add e2e test for this scenarioi
Fix #2208
Submitter Checklist
These are the criteria that every PR should meet, please check them off as you
review them:
make check
make generated
See the contribution guide
for more details.
Release Notes